<!doctype html>
<html>
<head>
<title>词库管理</title>
    <?php $this->load->module('admin/index/page_header');?>
<link href="<?php echo URLPRE;?>static/admin/css/font_icon.css" rel="stylesheet" />
</head>
<body>
<div class="wrap J_check_wrap">
  <div class="nav">
    <ul>
      <li class="current"><a  href="javascript:void(0)">列表</a></li>
      <li><a href="<?php echo $add_url;?>">新增</a></li>
    </ul>
  </div>
  <form method="post" action="<?php echo $index_url;?>">
    <div class="table_list" id="content">
                <table width="100%">
                <tbody>
                <tr>
                    <td>类型：<select name="sort" class="select rounded" style="font-family: 'Courier New', Courier, monospace; width:150px;">
                        <option value="0">全部</option>
                        <option value="1" <?php if($condition['sort']==1)echo 'selected'?>>票务</option>
                		<option value="2" <?php if($condition['sort']==2)echo 'selected'?>>保险</option>
                		<option value="3" <?php if($condition['sort']==3)echo 'selected'?>>地接</option>
                		<option value="4" <?php if($condition['sort']==4)echo 'selected'?>>领馆</option>
                		<option value="5" <?php if($condition['sort']==5)echo 'selected'?>>领队</option>
                		<option value="6" <?php if($condition['sort']==6)echo 'selected'?>>导游</option>
                		<option value="7" <?php if($condition['sort']==7)echo 'selected'?>>购物</option>
                		<option value="8" <?php if($condition['sort']==8)echo 'selected'?>>餐馆</option>
                		<option value="9" <?php if($condition['sort']==9)echo 'selected'?>>酒店</option>
                		<option value="10" <?php if($condition['sort']==10)echo 'selected'?>>景区</option>
                		<option value="11" <?php if($condition['sort']==11)echo 'selected'?>>车辆</option>
                		<option value="12" <?php if($condition['sort']==12)echo 'selected'?>>其他</option>
                        </select>
                        <input type="submit" class="btn" value="搜索">
                    </td>
                </tr>
                </tbody>
            </table>
      <table width="100%">
        <thead>
          <tr>
            <td style="width:2%;">选择</td>
            <td style="width:6%;">操作</td>
            <td style="width:8%;">项目类型</td>
            <td style="width:16%;">名称</td>
            <td style="width:10%;">更新人 | 时间</td>
          </tr>
        </thead>
        <?php if($list):?>
        <tbody>
          <?php foreach($list as $val):?>
          <tr>
            <td style="width:2%;"><input type="checkbox" value="<?php echo $val['id'];?>" name="id[]"></td>
            <td style="width:4%" class="btn_min"><div class="operat hidden"> <a class="icon-cog action" href="javascript:;">处理</a>
                <div class="menu_select">
                  <ul>
                    <li><a class="icon-pencil" href="<?php echo $val['edit_url'];?>">编辑</a></li>
                    <li><a class="icon-remove-2 doDel" href="javascript:;" data-uri="<?php echo $val['remove_url'];?>">删除</a></li>
                  </ul>
                </div>
              </div></td>
            <td><?php echo $val['sort_name'];?></td>
            <td><?php echo $val['name']?></td>
            <td><?php echo $val['update_person'];?> | <?php echo $val['update_date'];?></td>
          </tr>
          <?php endforeach;?>
        </tbody>
        <?php endif;?>
      </table>
    </div>
  </form>
  <div class="page_nav">
        <?php  echo $this->mypageclass->show(2); ?>
    </div>
</div>
</body>
</html>